﻿namespace Way.Bus.WMS.ST.Model
{
    using System.Collections.Generic;
    using Way.Bus.WMS.Model;
    using Way.EAP.DataAccess.Entity;

    public class ST_OutOrder : StockOutOrder, IPropertyValueType
    {
        /// <summary>
        /// 用于创建报表时获取该model中的属性
        /// </summary>
        /// <returns></returns>
        public ST_OutOrder[] GetST_OutOrder()
        {
            return null;
        }
        public PropertyValueType[] GetValueType(ValueTypeArgs valueArgs)
        {
            List<PropertyValueType> list = new List<PropertyValueType>();
            if (valueArgs.ColumnName == "STATE")
            {
                PropertyValueType item = new PropertyValueType {
                    Value = "0",
                    Text = "未出库"
                };
                PropertyValueType type2 = new PropertyValueType {
                    Value = "1",
                    Text = "部分出库"
                };
                PropertyValueType type3 = new PropertyValueType {
                    Value = "2",
                    Text = "出库完成"
                };
                list.Add(item);
                list.Add(type2);
                list.Add(type3);
            }
            return list.ToArray();
        }
    }
}

